home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
tex
/
concat10.zip
/
CONCAT.DOC
next >
Wrap
Text File
|
1989-05-02
|
1KB
|
40 lines
TITLE Concat v1.0, 1 May 1989
Input:
Read in multiple files (as named on the DOS cmd line).
Wildcards and full pathing are supported.
Example:
CONCAT foob1.txt file*.txt c:\*.bat ..\*.txt >concat.out
will follow standard DOS wildcard rules (expanding "FILE*.TXT",
"*.BAT", "*.TXT", etc.), copying each file (in the order given)
to the file "CONCAT.OUT".
(You DO know what that "..\*.TXT" means, don't you? Yep, that
works too!)
Output:
To StdOut (e.g., via redirection at the DOS command line),
with default output the CONsole device (naturally).
Notes:
End of File: Assumes the first ^Z in each input file is EOF
(and the rest is garbage), so will discard everything
after that first ^Z.
Makes no attempt to add terminating CR/LF after input files
or any other such cleanup.
Does NOT add a ^Z to the end of the output (file).
Credits:
Kegel for his Unix-like assembly language utils (ARGS.ASM
in KEGELUNX.ARC).
Keith Petersen for the idea/requirement.
Released to the public domain
David Kirschbaum
Toad Hall
kirsch@braggvax.ARPA